<%--
  Created by IntelliJ IDEA.
  User: 沐辰
  Date: 2023/9/6
  Time: 20:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<html>
<head>
    <title>添加学生</title>
  <link href="bootstrap.css" rel="stylesheet">
</head>
<body>
<div class="container">
  <h1>添加信息</h1>
  <form method="post" action="${pageContext.request.contextPath}/show?method=insertMsg">
    <div class="form-group">
      <label for="stuname">姓名</label>
      <input type="text" class="form-control" id="stuname" aria-describedby="emailHelp" name="stuname"
             >
    </div>

    <div class="form-group">
      <label for="stuno">学号</label>
      <input type="text" class="form-control" id="stuno" aria-describedby="emailHelp" name="stuno"
             >
    </div>

    <div class="form-group">
      <label for="pwd ">密码</label>
      <input type="text" class="form-control" id="pwd " name="pwd"
             >
    </div>

    <div class="form-group">
      <label for="idcard">身份证号</label>
      <input type="text" class="form-control" id="idcard" name="idcard">
    </div>

    <div class="form-group">
      <label for="startdate">入学时间</label>
      <input type="date" class="form-control" id="startdate" name="startdate"
             >
    </div>
    <div class="form-group">
      <label for="status">权限</label>
      <input type="radio"  id="status" name="status" value="1"
             >管理员
      <label for="status2"></label>
      <input type="radio"  id="status2" name="status" value="0"
             >普通用户
    </div>
    <button type="submit" class="btn btn-primary btn-lg btn-block">保存</button>
  </form>
</div>
</body>
</html>
